import request from '@/utils/request'
import apis from './'

export function getIpList (parameter) {
  return request({
    url: apis.IpList,
    method: 'get',
    params: parameter
  })
}

export function addIp (data) {
  return request({
    url: apis.AddIp,
    method: 'post',
    data: data
  })
}

export function delIp (parameter) {
  return request({
    url: apis.DelIp,
    method: 'get',
    params: parameter
  })
}

export function editRemark (parameter, data) {
  return request({
    url: apis.BatchRemark,
    method: 'post',
    params: parameter,
    data: data
  })
}
